package com.ktjy.dao;

import com.ktjy.pojo.Pet;
import com.ktjy.pojo.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class UserDaoImp implements UserDao {

    Logger logger = LoggerFactory.getLogger(UserDaoImp.class);

    @Override
    public int add(User user) {
        //System.out.println(user.getUsername() + "添加成功");
        logger.debug(user.getUsername() + "添加成功");
        return 1;
    }
}
